<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>

        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Admin Page</title>
        <link rel="stylesheet" href="<?php echo base_url(); ?>back-end/css/style.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo base_url(); ?>back-end/css/jquery.fileupload-ui.css" type="text/css" />
        <!--[if IE 9]>
            <link rel="stylesheet" media="screen" href="<?php echo base_url(); ?>back-end/css/ie9.css"/>
        <![endif]-->

        <!--[if IE 8]>
            <link rel="stylesheet" media="screen" href="<?php echo base_url(); ?>back-end/css/ie8.css"/>
        <![endif]-->

        <!--[if IE 7]>
            <link rel="stylesheet" media="screen" href="<?php echo base_url(); ?>back-end/css/ie7.css"/>
        <![endif]-->
        <script type="text/javascript" src="<?php echo base_url(); ?>back-end/js/plugins/jquery-1.7.min.js"></script>


        <!--[if lt IE 9]>
                <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
        <![endif]-->
        <meta charset="UTF-8"></head>

    <body class="loggedin">

        <!-- START OF HEADER -->
        <div class="header radius3">
            <div class="headerinner">
                <div class="headright">
                    <div class="headercolumn">&nbsp;</div>
                    <div id="userPanel" class="headercolumn">
                        <a href="" class="userinfo radius2">
                            <img src="<?php echo base_url(); ?>back-end/images/avatar.png" alt="" class="radius2" />
                            <span><strong><?php echo $this->session->userdata('username'); ?></strong></span>
                        </a>
                        <div class="userdrop">
                            <ul>                                
                                <li><a href="<?php echo base_url(); ?>admin/logout">Logout</a></li>
                                <li><a href="<?php echo base_url();?>admin/setting">Account Settings</a></li>
                            </ul>
                        </div><!--userdrop-->
                    </div><!--headercolumn-->
                </div><!--headright-->

            </div><!--headerinner-->
        </div><!--header-->
        <!-- END OF HEADER -->

        <!-- START OF MAIN CONTENT -->
        <div class="mainwrapper">
            <div class="mainwrapperinner">

                <div class="mainleft">
                    <div class="mainleftinner">

                        <div class="leftmenu">
                            <ul>
                                <li><a href="" class="dashboard"><span>Quản trị</span></a></li>
                                <li><a href="<?php echo base_url(); ?>admin/categories/show" class="widgets  menudrop"><span>Danh mục</span></a>
                                    <ul>
                                        <li><a href="<?php echo base_url(); ?>admin/categories/show"><span>Tất cả danh mục</span></a></li>
                                        <li><a href="<?php echo base_url(); ?>admin/categories/add"><span>Thêm danh mục</span></a></li>                                        
                                    </ul>
                                </li>
                                <li><a href="<?php echo base_url(); ?>admin/categories/show" class="tables  menudrop"><span>Công trình</span></a>
                                    <ul>
                                        <li><a href="<?php echo base_url(); ?>admin/buildings/show"><span>Tất cả công trình</span></a></li>
                                        <li><a href="<?php echo base_url(); ?>admin/buildings/add"><span>Thêm công trình</span></a></li>                                        
                                    </ul>
                                </li>
                                <li><a href="<?php echo base_url(); ?>admin/news/show" class="elements  menudrop"><span>Tin tức</span></a>
                                    <ul>
                                        <li><a href="<?php echo base_url(); ?>admin/news/show"><span>Tất cả tin tức</span></a></li>
                                        <li><a href="<?php echo base_url(); ?>admin/news/add"><span>Thêm tin tức</span></a></li>                                        
                                    </ul>
                                </li>
                                <!--
                                <li><a href="./tables.html" class="tables"><span>Tables</span></a></li>
                                <li><a href="./elements.html" class="elements"><span>Elements</span></a></li>
                                <li><a href="./charts.html" class="charts"><span>Graphs &amp; Charts</span></a></li>
                                <li><a href="./media.html" class="media"><span>Media</span></a></li>
                                <li><a href="./form.html" class="editor menudrop active"><span>Forms</span></a></li>
                                <li><a href="./grid.html" class="grid"><span>Grid</span></a></li>
                                <li><a href="./calendar.html" class="calendar"><span>Calendar</span></a></li>
                                <li><a href="./buttons.html" class="buttons"><span>Buttons &amp; Icons</span></a></li><li><a href="./chat.html" class="chat"><span>Chat Support</span></a></li>
                                <li><a href="./404.html" class="error"><span>Error Pages</span></a></li>
                                -->
                            </ul>

                        </div><!--leftmenu-->
                        <div id="togglemenuleft"><a></a></div>
                    </div><!--mainleftinner-->
                </div><!--mainleft-->

                <div class="maincontent noright">
                    <div class="maincontentinner">
                        <?php $this->load->view($view); ?>

                    </div><!--maincontentinner-->

                    <div class="footer">
                        <p>Kiến trúc AC &copy; 2013. All Rights Reserved.</p>
                    </div><!--footer-->

                </div><!--maincontent-->

            </div><!--mainwrapperinner-->
        </div><!--mainwrapper-->
        <!-- END OF MAIN CONTENT -->


    </body>
</html>
